#!/usr/bin/python
# -*- coding: utf-8 -*-

from _pylot.core.path import Path
from _pylot.core.pathbook import PathBook

defaultconf = Path(u'@CMAKE_INSTALL_PREFIX@', u'@PYLOTPATH_ETC@')

hardbook = PathBook(title=u'hardbook')
hardbook.upFromFile(Path(defaultconf, u'hardbook.csv'))
for key in hardbook :
  if hardbook[key].default_value :
    hardbook[key].default_value = hardbook[key].default_value.abspath()
hardbook.resetDataToDefault()

#print u'pylot informations:'
#print u'  - pylot library: %s' % hardbook(u'pythonpath')
#print u'  - default config: %s' % hardbook(u'defaultconf')
#print u'  - extensions: %s' % hardbook(u'extensions')
#print
